import { createApp } from "vue";
import "./style.css";
import App from "./App.vue";

/* Vue Router */
import VRouter from "@/router/index.js";

/* Pinia */
import Pinia from "@/store/index.js";

/* Vant */
import "vant/lib/index.css";
import { mapVantCompFunc } from "@/lib/vant.js";

/* Vconsole */
// import Vconsole from "vconsole";
// let vConsole = new Vconsole();

const app = createApp(App);

// use
app.use(VRouter);
app.use(Pinia);
// app.use(vConsole);
mapVantCompFunc(app);

app.mount("#app");
